-
Notifications
You must be signed in to change notification settings - Fork 13
Display PF table in DataView example #6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| export interface UseDataViewPaginationProps { | ||
| page?: number; | ||
| perPage: number; | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is perPage required but page optional? I think both should be optional IMO.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we don't want to introduce default values for perPage - they can vary from use case to use case. For page I think it is fine to keep it optional since it is usually 1 at the beginning.
|
🎉 This PR is included in version 1.0.0-prerelease.4 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 5.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
RHCLOUD-32250
useDataViewPaginationhook to manage the pagination state (for now without URL) management